#!/usr/bin/env python
from django.shortcuts import render_to_response

def view_test( request ):
    imgs = [ {
        "src": "/static/images/1.jpg",
        "dst": "1.html",
    }, {
        "src": "/static/images/2.jpg",
        "dst": "",
        "alt": "good 2",
        "title": "good 2",
    }, {
        "src": "/static/images/3.jpg",
        "dst": "3.html",
        "target": "_blank",
        "alt": "good 3",
        "title": "good 3",
    }, {
        "src": "/static/images/4.jpg",
        "dst": "",
        "alt": "good 4",
        "title": "good 4",
    }, {
        "src": "/static/images/5.jpg",
        "dst": "5.html",
        "alt": "good 5",
        "title": "good 5",
    }, {
        "src": "/static/images/6.jpg",
        "dst": "",
        "alt": "good 6",
        "title": "good 6",
    } ]
    return render_to_response(
        "test.html",
        {"imgs":imgs},
        )